<div ng-if="pagedata.op=='edit'">
<div class="namecard-editor album-editpage">

<!--#=start page-->
<div class="namecard-page"> 
  <form action="" class="validate" method="post" id="personForm">
  <section class="editcontent-column">
      <div class="editcontent-inner">
      	<div class="editcontent-inner-title">相册图片</div>
      	<div id="photoList">
			<div ng-repeat="image in pagedata.item.list" class="editcontent-box" ng-show="!image.del">
				<div class="editcontent-image">
					<div class="editcontent-upload">
						<a class="upload-btn" href="javascript:;" ng-click="up_file(image,'image','image')"><img style="display: block;" ng-src="{{tomedia(image.image)}}" width="100%;" height="100%;" class="fillIn-avatar-thumbnail">
						<span class="upload-text">点击上传图片</span>
						</a>
							<div class="editcontent-editor-btn">
								<a class="image-btn edit-btn up-btn" href="javascript:;" ng-click="pagedata.item.list.splice($index-1,0,image);pagedata.item.list.splice($index+1,1)">上移</a>
								<a class="image-btn detele-btn" href="javascript:;" ng-click="image.del=true">删除</a>
							</div>
					</div>
				</div>
			</div>
	    </div>
        
       	<div class="editcontent-addbox"><span class="editcontent-addbtn" ng-click="pagedata.item.list.push({'image':''})">添加新图片</span></div>
        
      </div>
  </section>

  <div class="editcontent-tips">
  请不要上传过大的图片
  </div>
  <!--#=end column-editcontent-->
  <div class="editor-confirm" id="footerFixed"> <a class="editor-btn" href="javascript:;" ng-click="post(pagedata.item,'post')" >确 定</a> </div>
</div>
  </form>
</div>

</div>